package com.link.base.base.alert.model;

import com.link.core.basic.model.BasicModel;

import java.util.List;

/**
 * 预警模块-头
 *
 * @author 宁蓝昊
 * @date 2019/09/28 16:03
 */
public class Alert extends BasicModel {

    /**规则名称*/
    private String alertName;
    /**预警对象Id */
    private Long objectTypeId;
    /**预警对象名 */
    private String objectName;
    /**预警对象类型*/
    private String objectType;
    /**预警对象 URL*/
    private String objectPath;
    /**预警开始日期*/
    private String startDate;          
    /**预警结束日期*/
    private String endDate;            
    /**预警周期类型,值列表类型: ALERT_LOOP_TYPE */
    private String loopType;           
    /**预警周期数*/
    private Integer loopAmt;
    /**预警时间*/
    private String alertTime;          
    /**规则状态,值列表类型: ALERT_STATUS */
    private String alertStatus;
    /**预警消息通知方式,值列表类型: ALERT_INFO_TYPE */
    private String infoType;           
    /**预警消息内容*/
    private String message;            
    /**消息模板id*/
    private Long templateId;
    /**消息模板名*/
    private String templateName;
    /**短信签名*/
    private String msgSign;
    /**短信消息内容*/
    private String msgContent;         
    /**消息接收人筛选方式,值列表类型: ALERT_RECEIVE_TYPE */
    private String receiveType;
    /**消息接收人筛选字段*/
    private String objectField;
    /**消息接收人筛选字段类型,值列表类型: ALERT_FIELD_TYPE */
    private String fieldType;          
    /**预警判断规则描述*/
    private String ruleDesc;           
    /**预警判断规则逻辑*/
    private String ruleLogic;
    /**参数匹配规则数据*/
    private List<AlertParam> alertParamList;
    /**预警指定提醒用户ID*/
    private Long empId;
    /**预警指定提醒用户姓名*/
    private String fstName;
    /**上一次执行时间*/
    private String lastExecute;

    public String getAlertName() {
        return alertName;
    }

    public void setAlertName(String alertName) {
        this.alertName = alertName;
    }

    public String getObjectName() {
        return objectName;
    }

    public void setObjectName(String objectName) {
        this.objectName = objectName;
    }

    public String getObjectType() {
        return objectType;
    }

    public void setObjectType(String objectType) {
        this.objectType = objectType;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getLoopType() {
        return loopType;
    }

    public void setLoopType(String loopType) {
        this.loopType = loopType;
    }

    public Integer getLoopAmt() {
        return loopAmt;
    }

    public void setLoopAmt(Integer loopAmt) {
        this.loopAmt = loopAmt;
    }

    public String getAlertTime() {
        return alertTime;
    }

    public void setAlertTime(String alertTime) {
        this.alertTime = alertTime;
    }

    public String getAlertStatus() {
        return alertStatus;
    }

    public void setAlertStatus(String alertStatus) {
        this.alertStatus = alertStatus;
    }

    public String getInfoType() {
        return infoType;
    }

    public void setInfoType(String infoType) {
        this.infoType = infoType;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getMsgContent() {
        return msgContent;
    }

    public void setMsgContent(String msgContent) {
        this.msgContent = msgContent;
    }

    public String getReceiveType() {
        return receiveType;
    }

    public void setReceiveType(String receiveType) {
        this.receiveType = receiveType;
    }

    public String getObjectField() {
        return objectField;
    }

    public void setObjectField(String objectField) {
        this.objectField = objectField;
    }

    public String getFieldType() {
        return fieldType;
    }

    public void setFieldType(String fieldType) {
        this.fieldType = fieldType;
    }

    public String getRuleDesc() {
        return ruleDesc;
    }

    public void setRuleDesc(String ruleDesc) {
        this.ruleDesc = ruleDesc;
    }

    public String getRuleLogic() {
        return ruleLogic;
    }

    public void setRuleLogic(String ruleLogic) {
        this.ruleLogic = ruleLogic;
    }

    public List<AlertParam> getAlertParamList() {
        return alertParamList;
    }

    public void setAlertParamList(List<AlertParam> alertParamList) {
        this.alertParamList = alertParamList;
    }

    public String getLastExecute() {
        return lastExecute;
    }

    public void setLastExecute(String lastExecute) {
        this.lastExecute = lastExecute;
    }

    public String getFstName() {
        return fstName;
    }

    public void setFstName(String fstName) {
        this.fstName = fstName;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public String getMsgSign() {
        return msgSign;
    }

    public void setMsgSign(String msgSign) {
        this.msgSign = msgSign;
    }

    public String getObjectPath() {
        return objectPath;
    }

    public void setObjectPath(String objectPath) {
        this.objectPath = objectPath;
    }

    public Long getObjectTypeId() {
        return objectTypeId;
    }

    public void setObjectTypeId(Long objectTypeId) {
        this.objectTypeId = objectTypeId;
    }

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    public Long getEmpId() {
        return empId;
    }

    public void setEmpId(Long empId) {
        this.empId = empId;
    }
}

